<%@ page contentType="text/html; charset=iso-8859-1" language="java" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %> 
<%@ page import="com.iMusic.businessLogicLayer.Account" %>
<%@ page import="com.iMusic.businessLogicLayer.Product" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd" "http://www.w3.org/TR/html4/frameset.dtd">
<html>
<head>
<meta content="text/html; charset=ISO-8859-1" http-equiv="content-type">
<title>iMusic</title>


</head>
<body>
<%
String error=request.getParameter("error");
if(error==null || error=="null"){
 error="";
}

String error2 = (String) request.getSession().getAttribute("Error");
if(error2==null || error2=="null"){
	 error2="";
	}


%>
<%
if (!error2.equals("")) {
%>
	<div style="text-align: right; color: rgb(255, 0, 0);"><%=error2%></div>
<%
}
%>	

<table style="text-align: left; width: 100%; height: 100%;" border="0"
cellpadding="2" cellspacing="2">
<tbody>

<form style="vertical-align: middle; text-align: left; " target="_top" name="Feedback" action="CreateFeedback" method="post" >

	<tr>
		<td style="vertical-align: top; width: 300px;"><br>
			<b>Feedback Content</b>
		</td>
		
		
	</tr>
	
	<tr>
		 
		<td style="vertical-align: top; width: 100px;"><br>
				<textarea maxlength=490 cols=40 rows=10 name="Description" autofocus></textarea>
                
		</td>		
		 
	</tr>

	<tr>
		<td style="vertical-align: top; width: 300px;"><br>
		</td>
		<td style="vertical-align: top; width: 300px;"><br>
				
				<c:if test="${Account == null}">
					<!--<form style="vertical-align: middle; " target="_top" action="CreateFeedback" method="post" name="CreateFeedback"  >-->
						<input value="Submit without" type="submit" disabled>
					<!--</form>-->
					<br>
					<i>You must be logged in to submit feedback.</i>
				</c:if>
				<c:if test="${Account != null}">
					<!--<form style="vertical-align: middle; " target="_top" action="CreateFeedback" method="post" name="CreateFeedback"  >-->
						<input value="Sumbit" type="submit">
					<!--</form>-->
				</c:if>
				
		</td>
		
		
		
	</tr>
	
	<tr>
		<td style="vertical-align: top; width: 100px;"><br>
			<a href="default.jsp" target="_top">Return</a>&nbsp;
		</td>
	</tr>
	
</form>
</tbody>
</table>



</body>
</html>